#ifndef GLSPRITE_H
#define GLSPRITE_H

#include "GLTexture.h"


class GLSprite
{
public:
    GLSprite(GLTexture* tex, int r, int c);
    virtual ~GLSprite();

    void render(float w, float h, int tx, int ty);

private:
    GLTexture* texture;
    int rows;
    int cols;
};

#endif // GLSPRITE_H
